<template>
  <h2 ref="shenzhen">深圳</h2>
  <button @click="outputRefContent">测试</button>
  <Person ref="ren"/>
</template>

<script lang="ts" setup name="App">

import Person from "./components/Person.vue";
import { ref } from 'vue'

const shenzhen = ref()
const ren = ref()

function outputRefContent() {
  console.log(ren.value);
}
</script>
